package com.dhcc.core.modules.system.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import com.dhcc.core.framework.base.entity.DataEntity;

/**
 * 文件信息表
 *
 * @ClassName: Attachment
 * @Description: TODO
 * @author mk
 * @date 2018-08-30 20:44:24
 */
@TableName("sys_pan_attachment")
public class PanAttachment extends DataEntity<PanAttachment> {
    private static final long serialVersionUID = 1L;

    //文件大小
    private Long fileSize;
    //文件类型
    private String fileMimeType;
    //保存路径
    private String filePath;
    //原文件名
    private String originalName;
    //系统文件名
    private String systemName;
    //引用树
    private Integer quote;

    @TableField(exist = false)
    private Long fileId;

    @TableField(exist = false)
    private Long folderId;
    
    @TableField(exist = false)
    private Integer source;

    public Long getFileSize() {
        return fileSize;
    }

    public void setFileSize(Long fileSize) {
        this.fileSize = fileSize;
    }

    public String getFileMimeType() {
        return fileMimeType;
    }

    public void setFileMimeType(String fileMimeType) {
        this.fileMimeType = fileMimeType;
    }

    public String getFilePath() {
        return filePath;
    }

    public void setFilePath(String filePath) {
        this.filePath = filePath;
    }

    public String getOriginalName() {
        return originalName;
    }

    public void setOriginalName(String originalName) {
        this.originalName = originalName;
    }

    public String getSystemName() {
        return systemName;
    }

    public void setSystemName(String systemName) {
        this.systemName = systemName;
    }

    public Integer getQuote() {
        return quote;
    }

    public void setQuote(Integer quote) {
        this.quote = quote;
    }

    public Long getFileId() {
        return fileId;
    }

    public void setFileId(Long fileId) {
        this.fileId = fileId;
    }

    public Long getFolderId() {
        return folderId;
    }

    public void setFolderId(Long folderId) {
        this.folderId = folderId;
    }

    public Integer getSource() {
        return source;
    }

    public void setSource(Integer source) {
        this.source = source;
    }
    
}
